﻿using System;
using System.Linq;
using System.Collections.Generic;
using System.Diagnostics;
using System.Threading;
using System.Drawing;
using System.Windows.Forms;
using Styx;
using Styx.Combat.CombatRoutine;
using Styx.Helpers;
using Styx.Logic;
using Styx.Logic.Combat;
using Styx.Logic.Pathing;
using Styx.WoWInternals;
using Styx.WoWInternals.WoWObjects;
using Styx.Logic.POI;

namespace HarmoniousVigor
{
    public partial class Paladin
    {
        public bool holyCombat()
        {
            if (Battlegrounds.IsInsideBattleground)
            {
                if (holyPVPCombat())
                    return true;
            }
            else if (characterPlayer.IsInInstance)
            {
                if (holyDungeonCombat())
                    return true;
            }
            else
            {
                if (holyQuestingCombat())
                    return true;
            }

            return false;
        }
        public bool holyHeal()
        {
            if (Battlegrounds.IsInsideBattleground)
            {
                if (holyPVPHeal())
                    return true;
            }
            else if (characterPlayer.IsInInstance)
            {
                if (holyDungeonHeal())
                    return true;
            }
            else
            {
                if (holyQuestingHeal())
                    return true;
            }

            return false;
        }
        public bool holyBuff()
        {
            if (Battlegrounds.IsInsideBattleground)
            {
                if (holyPVPBuff())
                    return true;
            }
            else if (characterPlayer.IsInInstance)
            {
                if (holyDungeonBuff())
                    return true;
            }
            else
            {
                if (holyQuestingBuff())
                    return true;
            }

            return false;
        }
        public bool holyPullSpell()
        {
            if (Battlegrounds.IsInsideBattleground)
            {
                if (holyPVPPullSpell())
                    return true;
            }
            else if (characterPlayer.IsInInstance)
            {
                if (holyDungeonPullSpell())
                    return true;
            }
            else
            {
                if (holyQuestingPullSpell())
                    return true;
            }

            return false;
        }
    }
}
